<?php
@define('IN_MOMENT', TRUE);

//程序目录
define('S_ROOT', dirname(__FILE__).DIRECTORY_SEPARATOR);
include_once(S_ROOT.'config.php');
include_once(S_ROOT.'config_bucket.php');
include_once(S_ROOT.'class/class_mysql.php');
include_once(S_ROOT.'class/smsapi/sms.inc.php');
include_once(S_ROOT.'class/oss_php_sdk/sdk.class.php');
include_once(S_ROOT.'function_common.php');
include_once(S_ROOT.'function_cloud.php');

//时间
$mtime = explode(' ', microtime());
$_SGLOBAL['timestamp'] = $mtime[1];
$_SGLOBAL['timestamp_super'] = $mtime[1] + $mtime[0];

$uid = '86000000000014';
$token = 'd1c058807580f4a7e5af9287df278f5290c3a867ba71ebc0c97f356dfad5d6a0';
$badge = '1';
$text = 'hello';


$body = array();
$reqeust['uid'] = $uid;
$reqeust['token'] = $token;
$reqeust['badge'] = $badge;
$reqeust['text'] = $text;
array_push($body, $reqeust);

echo push2iphone($body);

?>